package com.kd.juhaowan.ui.holder;

import android.annotation.SuppressLint;
import android.view.View;

import androidx.annotation.NonNull;

import com.bumptech.glide.Glide;
import com.flyjingfish.shapeimageviewlib.ShapeImageView;
import com.kd.juhaowan.R;
import com.kd.juhaowan.ui.adapter.BaseViewHolder;
import com.kd.juhaowan.utils.GlideHelper;
import com.kd.juhaowan.utils.LogUtil;


import butterknife.BindView;

public class GameInfoImageViewHolder extends BaseViewHolder {




    @BindView(R.id.item_image)
    ShapeImageView iconView;




    public GameInfoImageViewHolder(@NonNull View itemView) {
        super(itemView);
    }



    @SuppressLint("ResourceType")
    public void setDate(String  model){
        LogUtil.debugLog(model.toString());
        GlideHelper.loadGoodsCover(Glide.with(getItemView()),iconView,model);

    }



}
